package com.zhonghui.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class UserAddress {

    @ApiModelProperty(value = "主键")
    private Long id;


    @ApiModelProperty(value = "地址id")
    private Long addressId;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**
     * 更新时间
     */
    @JsonIgnore
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    /**
     * 创建人编码
     */
    @JsonIgnore
    @ApiModelProperty(value = "创建人id")
    private String createUser;
    /**
     * 修改人编码
     */
    @JsonIgnore
    @ApiModelProperty(value = "修改人id")
    private String updateUser;
    /**
     * 删除标记(1 删除 0未删除)
     */
    @JsonIgnore
    @ApiModelProperty(value = "删除标记(1 删除 0未删除)")
    private Integer deleteFlag;



    @JsonIgnore
    @ApiModelProperty(value = "收货人")
    private String receiveName;

    @JsonIgnore
    @ApiModelProperty(value = "'联系号码'")
    private String receivePhone;

    @JsonIgnore
    @ApiModelProperty(value = "省份")
    private String province;

    @JsonIgnore
    @ApiModelProperty(value = "省份编码")
    private String provinceCode;

    @JsonIgnore
    @ApiModelProperty(value = "城市")
    private String city;

    @JsonIgnore
    @ApiModelProperty(value = "城市编码")
    private String cityCode;

    @JsonIgnore
    @ApiModelProperty(value = "城市")
    private String area;

    @JsonIgnore
    @ApiModelProperty(value = "城市编码")
    private String areaCode;

    @JsonIgnore
    @ApiModelProperty(value = "详细地址")
    private String street;

    @JsonIgnore
    @ApiModelProperty(value = "邮编")
    private String postalCode;

    @JsonIgnore
    @ApiModelProperty(value = "地址标签")
    private String addressLabel;


}
